package com.xinzhidi.web.equipment.domain.vo;

import com.xinzhidi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 设备InfoVo对象 equipment
 *
 * @author ruoyi
 * @date 2023-05-29
 */
@ApiModel(value = "设备InfoVo对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentInfoVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备id")
    private Long id;

    @ApiModelProperty(value = "名称，如：花间苑-1号楼-1单元")
    private String name;

    @ApiModelProperty(value = "dtuId")
    private Long dtuId;

    @ApiModelProperty(value = "协议类型 1：户用阀门协议 2：单元阀门协议 3：室温采集器协议 4：户用热量表协议 5：单元热量表协议 6:海龙马调节阀协议")
    private String protocolType;

    @ApiModelProperty(value = "小区id")
    private Long lotId;

    @ApiModelProperty(value = "小区名称")
    private String lotName;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "楼栋名称")
    private String buildName;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "单元名称")
    private String unitName;

    @ApiModelProperty(value = "住户id")
    private Long householdId;

    @ApiModelProperty(value = "住户名称")
    private String householdName;

    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备编号")
    private String equipmentCode;

    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "设备类型名称")
    private String equipmentTypeName;

    @ApiModelProperty(value = "设备分组id")
    private Long equipmentGroupId;

    @ApiModelProperty(value = "设备分组名称")
    private String groupName;

    @ApiModelProperty(value = "详细位置")
    private String address;

    @ApiModelProperty(value = "是否主动抄表（1：是  2：否）")
    @Excel(name = "是否主动抄表", readConverterExp = "1=：是,2=：否")
    private String autoRead;

    @ApiModelProperty(value = "模型id 计算同模型平均值时使用")
    private Integer modelId;

}
